package com.hd.pzhwlxt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
@create: 2022-09-22 11:33
@author: 怀念天空
@Description: 
*/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "goods_price")
public class GoodsPrice {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "goods_id")
    private Integer goodsId;

    @TableField(value = "in_price")
    private Double inPrice;

    @TableField(value = "out_price")
    private Double outPrice;

    /**
     * 库存
     */
    @TableField(value = "stock")
    private Integer stock;
}